<template>
  <div id="app">
    <el-menu  class="el-menu-demo" mode="horizontal"  background-color="#409EFF" text-color="#fff">
      <el-menu-item index="1"><router-link to="/">用户管理系统</router-link></el-menu-item>
      <el-menu-item index="2"><router-link to="/about">关于我们</router-link></el-menu-item>
    </el-menu>
    <router-view/>
  </div>
</template>

<script>
export default {
  name: 'app'
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
</style>
